<{include file="admin:common/header.html"}>
<div class="page-title">
    <table width="100%" align="center" cellpadding="0" cellspacing="0" >
        <tr>
            <td width="30" align="right"><img src="<{$pager.url}>/images/main-h5-ico.gif" alt="" /></td>
            <th><{$MOD.title}></th>
            <td align="right"><{link ctl="system/smstmpl:index" priv="hidden" class="button"}></td>
            <td width="15"></td>
        </tr>
    </table>
</div>
<div class="page-data">
    <div class="tip-notice"><b class="red">全局:</b><label>网站标题:<em>{site_title}</em></label> <label>官网电话:<em>{site_phone}</em></label></label><label>城市名:<em>{city_name}</em></label> </div>
    <div class="tip-notice" style="word-wrap:break-word;margin-top:5px;">
        <b class="blue">可用标签</b>:<{foreach $detail.config as $k=>$v}><label><{$v}>:<em>{<{$k}>}</em></label> <{foreachelse}><label>无可用变量</label><{/foreach}>
    </div>
    <form action="?system/smstmpl-config.html" mini-form="smstmpl-form" method="post" >
    <input type="hidden" name="systmpl_id" value="<{$detail.systmpl_id}>"/>
    <table width="100%" border="0" cellspacing="0" class="table-data form">
        <tr><th>配置页面：</th><td><{$detail.title}>(<{$detail.key}>)</td></tr>
        <tr><th><span class="red">*</span>短信内容：</th>
            <td><textarea name="data[tmpl]" class="textarea"><{$detail.tmpl}></textarea><br /><span class="tip-comment">模板内容</span></td></tr>
        <tr><th>启用：</th><td>
        <label><input type="radio" name="data[is_open]" <{if $detail.is_open}>checked="checked"<{/if}> value="1"/>是</label>&nbsp;&nbsp;
        <label><input type="radio" name="data[is_open]" <{if empty($detail.is_open)}>checked="checked"<{/if}> value="0"/>否</label></td></tr>
    <tr><th class="clear-th-bottom"></th><td class="clear-td-bottom" colspan="10"><input type="submit" class="bt-big" value="提交数据" /></td></tr>
    </table>
    </form>
</div>
<{include file="admin:common/footer.html"}>